package com.example.back.service;

import com.example.back.dto.req.DiseaseEditReq;
import com.example.back.dto.req.DiseaseListReq;
import com.example.back.dto.resp.DiseaseInfoRsp;
import com.example.back.dto.resp.DiseaseListResp;
import com.github.pagehelper.PageInfo;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author wxy
 * @Date 2021/1/14 13:33
 * @Version 1.0
 */
public interface DiseaseService {
    /**
     * 疾病列表
     */
    PageInfo<DiseaseListResp> List(@RequestBody DiseaseListReq req);

    /**
     * 启用、禁用
     */
    Object DoDisable(@RequestBody DiseaseEditReq req);

    /**
     * 详情
     */
    DiseaseInfoRsp Info(@RequestBody DiseaseEditReq req);

    /**
     *
     */
    Object Save(@RequestBody DiseaseEditReq req);
}
